/**
 * 
 */
package com.yidu.ssm.action;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.yidu.ssm.domain.FlowerType;
import com.yidu.ssm.service.FlowerTyperService;

/**
 * @author liandyao
 * @date 2018年7月6日
 * @version 1.0
 */
@Controller
@RequestMapping("/type")
public class FlowerTypeAction {
	
	@Resource
	private FlowerTyperService flowerTyperService;
	
	@RequestMapping("/selectAll")
	@ResponseBody
	public List<FlowerType> selectAll(){
		return flowerTyperService.selectAll();
	}

}
